home *** CD-ROM | disk | FTP | other *** search
- /*
- ** main function for PictView applictation
- ** Copyright © 1991 Mark Gross
- ** (RR2, Box 84, Clayville, NY 13322);
- ** this file may be published everywhere, but no charge
- ** may be made for its use. Please contact me about any bugs found.
- ** I'm also looking for Macintosh development work, so drop me a line
- ** if you think I could help.
- **
- ** I modified the TPICTApp to read Scribble documents
- ** because I had no PICTs availabe and did have SPCTs!
- */
-
- #include "TPICTApp.h"
- #include <oops.h>
- #include "TScrollDoc.h"
-
- TScrollDoc *gCurrScrollDoc;
-
- main()
- {
- TPICTApp *theApp;
-
- MoreMasters();
-
- theApp = (TPICTApp *)new(TPICTApp);
- theApp->Init();
-
- if(theApp->InitApp() )
- {
- if(!theApp->OpenDocFromFinder() )
- theApp->OpenNewDoc();
-
- theApp->EventLoop();
- theApp->CleanUp();
- }
- }/*the end*/
-